package xyz.longicorn.driver.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String nickname;
    private String email;
    private String account;
    private String password;
    private String salt;
    private String avatar;
    private Integer sex;
    private String lastIp;
    private Date lastLogin;
    private Date createTime;
    private Date updateTime;
    private Integer status;
}
